package com.xpgk.dto;

import java.util.List;

/**
 * Ztree节点数据封装
 */
public class ZtreeNode {

	/**
	 * 节点id
	 */
	private String id;
	/**
	 * 父id
	 */
	private String pId;

	/**
	 * 节点名称
	 */
	private String name;

	/**
	 * 机构ids
	 */
	private String organIds;

	/**
	 * 是否上级节点
	 */
	private String isParent;

	/**
	 * 是否隐藏
	 */
	private String isHidden;

	/**
	 * 是否半勾选
	 */
	private String isHalf;

	/**
	 * 是否展开
	 */
	private String open;

	/**
	 * 是否选中
	 */
	private String checked;

//	/**
//	 * 是否选中
//	 */
//	private boolean nocheck;

	/**
	 * 节点图标
	 */
	private String icon;

	/**
	 * 编号
	 */
	private String bh;
	
	/**
	 * 层级
	 */
	private int levelNum;
	
	/**
	 * 层级ids
	 */
	private String levelIds;

	/**
	 * 子节点数据
	 */
	private List<ZtreeNode> children;
	
	public String getLevelIds() {
		return levelIds;
	}

	public void setLevelIds(String levelIds) {
		this.levelIds = levelIds;
	}
	
	public int getLevelNum() {
		return levelNum;
	}

	public void setLevelNum(int level) {
		this.levelNum = level;
	}

	public String getIsHalf() {
		return isHalf;
	}

	public void setIsHalf(String isHalf) {
		this.isHalf = isHalf;
	}

	public String getBh() {
		return bh;
	}

	public void setBh(String bh) {
		this.bh = bh;
	}

	public String getIsHidden() {
		return isHidden;
	}

	public void setIsHidden(String isHidden) {
		this.isHidden = isHidden;
	}

	public String getOpen() {
		return open;
	}

	public void setOpen(String open) {
		this.open = open;
	}

	public String getChecked() {
		return checked;
	}

	public String getIsopen() {
		return open;
	}

	public void setIsopen(String isopen) {
		this.open = isopen;
	}

	public String getOrganIds() {
		return organIds;
	}

	public void setOrganIds(String organIds) {
		this.organIds = organIds;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIsParent() {
		return isParent;
	}

	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

//	public boolean isNocheck() {
//		return nocheck;
//	}
//
//	public void setNocheck(boolean nocheck) {
//		this.nocheck = nocheck;
//	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public List<ZtreeNode> getChildren() {
		return children;
	}

	public void setChildren(List<ZtreeNode> children) {
		this.children = children;
	}

	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}
	
}
